package ilearn.seata.job.java8.order.dao;

import ilearn.seata.job.java8.order.entity.Order;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface OrderDao {

    @Insert("insert into orders(goods,accId,name,amt) values(#{goods},#{accId},#{name},#{amt})")
    void insert (Order order);
}
